In a code review of a merchantג€™s site you have discovered that there are multiple observers for the checkout_submit_all_after event. After closer inspection, you notice one of these observers is relying on the others being executed before it is called.
What risk does this pose, and how can it be mitigated?
Answer : B
Reference:
https://magento.stackexchange.com/questions/373/magento-observer-events-order-of-operations
You have created a module controller that responds to the following URL: /mycompany/product/load/id/123.
Which two methods will load the product model by ID as specified in the URL? (Choose two.)
Answer : BD
What scopes are available for customer attributes?
Answer : A
Reference:
https://magento.stackexchange.com/questions/258212/which-entity-allows-scoped-attributes
What is a valid use case for an around plugin?
Answer : D
Reference:
https://devdocs.magento.com/guides/v2.3/extension-dev-guide/plugins.html
Your module, MyCompany_MyModule, is using the frontName mymodule. You need to locate the class responsible for the frontend path /mymodule/custom.
What file contains the controller class for the frontend path /mymodule/custom?
Answer : A
Reference:
https://www.simicart.com/blog/magento-create-controller/
You are adding a new menu item to the admin backend which will link to a custom backend page.
The declaration of the route:
Answer : D
Reference:
https://magento.stackexchange.com/questions/92236/magento-2-custom-admin-action-redirected-to-dashboard
You added a plugin declaration to MyCompany/MyModule/etc/di.xml:
Answer : B
You have created a custom module which must perform an action immediately after an order is placed, but only on the store front of the merchant site. You have selected the checkout_submit_all_after as the target event which the module will observe.
In which file will the event observer be declared?
Answer : D
Reference:
https://magento.stackexchange.com/questions/128548/trigger-event-after-an-order-has-been-created-saved/128565
You are working on a jewelry store that sells rings. Each ring allows an adjustment in size. The customer specifies finger size in inches and the merchant physically adjusts the stocked ring to the required size.
How is this represented in Magento?
Answer : C
You have created a module with a custom ACL resource and want to restrict access to resources of your module.
Which three items are restricted based on ACL role permissions? (Choose three.)
Answer : CDE
Reference:
https://www.mageplaza.com/magento-2-module-development/magento-2-acl-access-control-lists.html
A merchant is interested in setting different prices for the same products in different store scopes.
What do you reply to this inquiry?
Answer : A
Reference:
https://www.quora.com/How-can-I-set-up-different-prices-for-the-same-product-per-Magento-s-Store-View-Im-using-Magento-2-2
You are reviewing a Magento module and see a directory named Service.
What can you determine from this directoryג€™s name?
Answer : D
Reference:
https://stackoverflow.com/questions/55337322/what-is-the-use-of-service-directory-in-magento-2
A module you are developing requires the addition of new routes that should be accessible in the store front.
Where do you define your moduleג€™s frontName?
Answer : A
Reference:
https://devdocs.magento.com/guides/v2.3/extension-dev-guide/routing.html
You got a notification about error that occurred on a production environment. The merchant gave you the error identifier.
How do you find the error message based on the identifier?
Answer : B
You have been asked to display details from the customerג€™s latest order on the customerג€™s account dashboard (customer/account/). You create a new custom template to show the information.
How do you obtain an order repository so you can fetch an order?
Answer : C
Have any questions or issues ? Please dont hesitate to contact us